package dancetwotiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceTripScoreReissueLog 碎片补发
type DanceTripScoreReissueLog struct {
	Id         int64          `json:"id" gorm:"primaryKey;autoIncrement;comment:id"`
	ActivityId int64          `json:"activity_id" gorm:"column:activityId;type:bigint;default:0;not null;comment:活动id"`
	UserId     string         `json:"userId" gorm:"column:user_id;type:varchar(256);not null;default:'';comment:用户id"`
	ReUserId   string         `json:"reUserId" gorm:"column:re_user_id;type:varchar(256);not null;default:'';comment:补发人id"`
	UserName   string         `json:"userName" gorm:"column:user_name;type:varchar(256);not null;default:'';comment: 用户名字"`
	TripScore  int64          `json:"tripScore" gorm:"column:trip_score;type:bigint;default:0;not null;comment:经验值"`
	Remark     string         `json:"remark" gorm:"column:remark;type:varchar(256);not null;default:'';comment: 备注"`
	Reviewer   string         `json:"reviewer" gorm:"column:reviewer;type:varchar(256);not null;default:'';comment:审核人"` // 审核人
	CreatedId  int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`  // 更新人id
	CreatedAt  time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt  time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt  gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
